<div style="margin:50px 0 0 50px;">
	<form id="f_changePwd2" action="user/changeAdminPwd" method="post">
		<table>
			<tr>
				<td>原密码:</td>
				<td><input name="oldPwd" type="password" class="txtInput"></input></td>
			</tr>
			<tr>
				<td>新密码:</td>
				<td><input name="newPwd" type="password" class="txtInput"></input></td>
			</tr>
			<tr>
				<td>确认密码:</td>
				<td><input name="confirmPwd" type="password" class="txtInput"></input></td>
			</tr>
			<tr>
				<td></td>
				<td><input type="submit" value="确定" class="btnSubmit"></input></td>
			</tr>
		</table>
	</form>
</div>

<script>
$(function(){
	$('#f_changePwd2').form({
        success:function(result){
            if($.parseJSON(result).errorInfo == 'none') {
            	$.messager.alert('提示','密码修改成功！');
            	$('#tt').tabs('close','管理密码变更');
				return ;
            }
            $.messager.alert('提示',$.parseJSON(result).errorInfo);
        }
    });
})
</script>